{include file = "admin/admin_header.tpl"}
{if $ismessage == true}
<table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="100%"> 
<div {if $usererror != true}id="infobar"{else}id="errorbar"{/if} title="Click to hide"><a href="#" onclick="hide();">{$infomessage}</a></div>
</td> </tr> </table>
{/if}
<table align="center" width="100%" style="height:100%">
	<tr>
		{if $ex != "nomenu"}<td width="20%" valign="top">{$mainmenu}</td>{/if}
		<td valign="top" class="content">
			{include file = "admin/$file"}
		</td>
	</tr>
</table>
{include file = "admin/admin_footer.tpl"}
